Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~John Lopfanakonyli 28.Jan.04 04:04 PM a Web browser
Domino Designer 6.0.3 Linux - SuSE


Hi,

I try to write an Agent to parse the content of a HTML Mail.
I write the following Code, but it dose not work :-?

session.setConvertMIME(false);
MIMEEntity mime = docMail.getMIMEEntity();
Stream stream = session.createStream();
mime.getContentAsText(stream);
stream.close();
String sBody=stream.readText();
if (sBody.indexOf("some text")>-1) {
//... my code goes here...
}
sBody=sBody.toLowerCase();

But the String sBody always is emty?
Any idea?

Thanks for help

Ralph Soika








  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS